<?php

class Halls_EditErrorView extends SrsHallsBaseView
{
	public function executeHtml(AgaviRequestDataHolder $rd)
	{
		$this->setupHtml($rd);

		$this->getLayer('content')->setTemplate('EditInput');

		$hall = $rd->getParameter('hall');
		$hall['id'] = $rd->getParameter('id');

		$referer = $rd->getParameter('referer', $this->genUrl('hall.read', array('id' => $hall['id'])));
		
		$this->setAttribute('hall', $hall);
		$this->setAttribute('referer', $referer);
	}
}